class Student:
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def study(self):
        print(self.name + '学习')

    def work(self):
        print(self.name + '工作')


#   s01 对象地址
s01 = Student('Frank', 27)
#   通过对象地址，调用对象方法，会自动传递对象地址
s01.study()
s02 = Student('李永超', 28)
s02.work()
